local game = require 'club.threecard.texas'

local self_poker = game.ui.element(game.pokerlib.core.poker)

function self_poker:ctor()
    self.res = 'club.threecard.texas/ui/ingame.b:self_poker'
end

function self_poker:on_get()
    self.gray_obj:SetActive(false)
    self.highlight_obj:SetActive(false)
end

function self_poker:highlight()
    self.highlight_obj:SetActive(true)
    self.gray_obj:SetActive(false)
end

function self_poker:gray()
    self.gray_obj:SetActive(true)
    self.highlight_obj:SetActive(false)
end

return self_poker